<template>
  <div class="common-layout">
    <el-container>

    <Aside/>
    <el-container>
           <!-- 引入头部 -->
        <el-header>
           <Header />
        </el-header>
        
        <el-main> 
          <router-view/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>
import { RouterView } from 'vue-router';
import  Aside from'../components/aside.vue'
import Header from '../components/navHeader.vue'
</script>
<style lang="less " scoped>
.common-layout{
  height: 100%;
  .el-container{
    height: 100%;
  }
}
</style>